﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 交通工具
{
    internal class Vehicles
    {
        protected string brand;
        protected string color;

        public Vehicles(string brand, string color) 
        {
            this.brand = brand;
            this.color = color;
        }

        public void Run()
        {
            Console.WriteLine("我已经开动了");
        }

        public void ShowInfo()
        {
            Console.WriteLine(brand);
            Console.WriteLine(color);
        }
    }
}
